package lab02.Test15;

/**
 * Created by tanfei on 2017/10/19.
 */
public class Test {
    public static void main(String[] args) {
        Graduate zhangsan=new Graduate();
       if (zhangsan.getPay()-zhangsan.getPay()<2000){
           System.out.println("You need a loan");
       }else{
           System.out.println("You income is enough");
       }
    }

}
